package com.xckj.teacher.ui.activity

import com.xckj.teacher.R
import com.xckj.teacher.databinding.ActivityContactServerBinding
import com.xckj.teacher.framework.BaseActivity
import com.xckj.teacher.presenter.MinePresenter

/**
 * 联系客服
 */
class ContactServerActivity : BaseActivity<ActivityContactServerBinding>() {
    private val presenter: MinePresenter by lazy { MinePresenter(this) }


    inner class ProxyClick {
        fun back() {
            finish()
        }
    }

    override fun loadLayout(): Int {
        return R.layout.activity_contact_server
    }

    override fun initData() {
        presenter.connectUs {
            dataBinding.data = it
        }
        dataBinding.click = ProxyClick()
    }

    override fun setListener() {
    }
}